<div class="agent-shortcut">
  <div class="w">
    <!-- 未登录 -->
    <form class="form-inline pull-right" style="display: none;">
      <div class="form-group">
        <input type="text" class="form-control input-sm" placeholder="用户名" autocomplete="off">
      </div>
      <div class="form-group">
        <input type="password" class="form-control input-sm" placeholder="密码" autocomplete="off">
      </div>
      <div class="form-group">
        <input type="text" class="form-control input-sm" placeholder="验证码" autocomplete="off" maxlength="6">
        <img src="img/valid.jpg" class="valid-img" title="点击更换验证码">
      </div>
      <button type="submit" class="btn btn-danger btn-sm">登录</button>
      <a href="#" class="btn btn-link btn-sm">忘记密码?</a>
    </form>
    <!-- /未登录 -->
    <!-- 已登录 -->
    <div class="pull-right">
      <p class="agent-shortcut-text">
        <i class="icon taobao-iconfont icon-people"></i>
        代理帐号：moxiaolv
      </p>
      <p class="agent-shortcut-text">账户结余：0.0</p>
      <p class="agent-shortcut-text">昵称：我爱金钱</p>
      <p class="agent-shortcut-text">等级：新会员</p>
      <a class="agent-shortcut-text">
        <i class="icon taobao-iconfont icon-mail"></i>
        站内信：<span class="badge _reverse">0</span>
      </a>
      <a class="agent-shortcut-text">
        <i class="icon taobao-iconfont icon-settings"></i>
        账户管理
      </a>
      <a class="agent-shortcut-text">退出</a>
    </div>
    <!-- /已登录 -->
  </div>
</div>